package com.njit.campuslifeboot.util;

import java.time.LocalDateTime;

public class RandomImage {
    public static final String[] images = {
            "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fc-ssl.duitang.com%2Fuploads%2Fblog%2F202102%2F02%2F20210202174409_e84ba.thumb.1000_0.jpeg&refer=http%3A%2F%2Fc-ssl.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1670841199&t=2f1eae8a6638d278ad2f771fa542693f",
            "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fc-ssl.duitang.com%2Fuploads%2Fitem%2F201909%2F07%2F20190907160224_blspd.thumb.1000_0.jpeg&refer=http%3A%2F%2Fc-ssl.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1670841200&t=888bcd62843de7c44b652abac8b97a64",
            "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fc-ssl.duitang.com%2Fuploads%2Fitem%2F201909%2F07%2F20190907160223_gryib.thumb.400_0.jpeg&refer=http%3A%2F%2Fc-ssl.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1670841199&t=997148d157a5da2af52f1d572bab0ae0",
            "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Finews.gtimg.com%2Fnewsapp_bt%2F0%2F10458516385%2F1000.jpg&refer=http%3A%2F%2Finews.gtimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1670841275&t=506d6a710d02409b04f0b362df7efcb5",
            "http://p3.itc.cn/q_70/images03/20201018/5bd20b8a43484bfcb19e2e5e13fe35be.jpeg",
            "http://p7.itc.cn/q_70/images03/20201018/ad8c0d12f22c40ab98ea1c8977195f9d.jpeg",
            "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fc-ssl.dtstatic.com%2Fuploads%2Fblog%2F202104%2F06%2F20210406234923_0ab01.thumb.1000_0.jpg&refer=http%3A%2F%2Fc-ssl.dtstatic.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1670841417&t=4755a5f5868e59d841208a31eaa127d0",
            "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fb-ssl.duitang.com%2Fuploads%2Fitem%2F201902%2F08%2F20190208144641_igzym.thumb.700_0.png&refer=http%3A%2F%2Fb-ssl.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1670841432&t=a2079a93c1c09d42eddb33f25891cd98",
            "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fc-ssl.duitang.com%2Fuploads%2Fitem%2F201902%2F16%2F20190216211835_fbofq.thumb.400_0.jpg&refer=http%3A%2F%2Fc-ssl.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1670841432&t=4abee465f3a94538eb0c15ea781ccd80",
            "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fc-ssl.duitang.com%2Fuploads%2Fitem%2F201912%2F21%2F20191221160724_cuxyf.thumb.1000_0.jpg&refer=http%3A%2F%2Fc-ssl.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1670841473&t=cf58ff8fb09bf033b6f73811a75bf2b2",
            "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.crcz.com%2Fallimg%2F201910%2F31%2F1572503852265936.jpg&refer=http%3A%2F%2Fimg.crcz.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1670474843&t=bacf65c0be841280159d39133168b7f2",
            "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.crcz.com%2Fallimg%2F201910%2F31%2F1572503852115454.jpg&refer=http%3A%2F%2Fimg.crcz.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1670474874&t=8e2903b6a9975524e599479446cb2c06",
            "https://image.baidu.com/search/detail?ct=503316480&z=0&ipn=d&word=%E7%BB%84%E5%9B%A2%E5%A4%B4%E5%83%8F&step_word=&hs=0&pn=7&spn=0&di=7146857200093233153&pi=0&rn=1&tn=baiduimagedetail&is=0%2C0&istype=0&ie=utf-8&oe=utf-8&in=&cl=2&lm=-1&st=undefined&cs=3744809526%2C118620784&os=3214544316%2C1039149666&simid=3346065337%2C386460863&adpicid=0&lpn=0&ln=1288&fr=&fmq=1667882829804_R&fm=&ic=undefined&s=undefined&hd=undefined&latest=undefined&copyright=undefined&se=&sme=&tab=0&width=undefined&height=undefined&face=undefined&ist=&jit=&cg=&bdtype=0&oriquery=&objurl=https%3A%2F%2Fgimg2.baidu.com%2Fimage_search%2Fsrc%3Dhttp%3A%2F%2Fimg.crcz.com%2Fallimg%2F201910%2F31%2F1572503852478083.jpg%26refer%3Dhttp%3A%2F%2Fimg.crcz.com%26app%3D2002%26size%3Df9999%2C10000%26q%3Da80%26n%3D0%26g%3D0n%26fmt%3Dauto%3Fsec%3D1670474895%26t%3Dca20624c78482bd1a5b4003e71c2639e&fromurl=ippr_z2C%24qAzdH3FAzdH3Fooo_z%26e3Bv6vz_z%26e3Bv54AzdH3Fp57xtwg2AzdH3FojtxtgAzdH3Fda8lAzdH3Fcbda_z%26e3Bip4s&gsm=1e&rpstart=0&rpnum=0&islist=&querylist=&nojc=undefined&dyTabStr=MCwzLDYsNCwyLDEsNSw4LDcsOQ%3D%3D"
    };
    public static String getRandomImage() {
        int timeStamp = LocalDateTime.now().getSecond();
        int index = (int) (Math.random()*timeStamp%images.length);
        return images[index];
    }
}
